home *** CD-ROM | disk | FTP | other *** search
/ MacFormat UK 76 / MF_UK_76_1.iso / Education Feature / MicroWorlds 2.03 Try Me / MicroWorlds 2.03 Try Me.rsrc / TEXT_582_get.txt < prev    next >
Encoding:
Text File  |  1998-05-08  |  1.2 KB  |  40 lines

  1. get object property 
  2.  
  3. Reports a property of an object in the current project. The first input is the name of an object, a color, or a page. The second input is a property name. 
  4.  
  5. Following is a list of the properties each object can have:
  6.  
  7. Page:    turtles, texts, buttons, sliders, melodies, records, videodisks, qtmovies, qtsounds, audiocds, colordemons
  8. Turtle:    visible?, rule, on?, own
  9. Button:    pos, size, rule, on?
  10. Slider:    pos, showname?, limits, value
  11. Text:    visible?, pos, size, transparent?, showname?, text
  12. Color:    turtlerule, turtlemode, mouseclick, on?
  13. Melody:    visible?, pos, on?, showname?, instrument, volume, tempo
  14. Recording:    visible?, pos, on?, showname? 
  15. QTMovie:    visible?, pos, on?, showname? 
  16. AudioCD: visible?, pos, on?, showname? 
  17. Videodisk: visible?, pos, on?, showname? 
  18. announce: pos, size
  19. question: pos, size
  20. Sounds: quality
  21.  
  22. See Creating and Modifying Objects Under Program Control  in Section 3 of the User's Guide  for more information.
  23.  
  24. The following examples assume that the objects are in the project.
  25.  
  26. show get "t1 "rule
  27. forever[fd 1]
  28. show get "t1 "on?
  29. true
  30. show get "button1 "rule
  31. launch [page1]
  32. show get "text1 "size
  33. 160 100
  34. show get "t1 "own
  35. speed 12
  36. show get "question "size
  37. 354 132
  38. show get "sounds "quality
  39. good
  40.